WpAssetCleanUp\OptimiseAssets\OptimizeCss D

Total Complexity 352
Dependencies 16
Dependents 8
Total lines 1,520
Lines of code 897
Logical lines of code 577
Comment lines 343
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
maybeOptimizeIt()
D
21
64 163
isOptimizeCssEnabledByOtherParty()
D
30 55 87
updateHtmlSourceOriginalToOptimizedCss()
D
28
43 111
prepareOptimizeList()
C
38 27 61
doInline()
C
35 26 75
alterHtmlSource()
B
39 22 59
maybeAlterContentForInlineStyleTag()
B
43 17 43
getInlineAssociatedWithLinkHandle()
A
49 13 26
updateOriginalToOptimizedTag()
A
47 11 32
ignoreDependencyRuleAndKeepChildrenLoaded()
A
52 11 22
maybeFixCssContent()
A
43 6 48
stripAnyReferencesForUnloadedStyles()
S
57 7 15
triggersAfterInit()
S
55 5 19
maybeAlterContentForCssFile()
S
58 5 16
isWpRocketOptimizeCssDeliveryEnabled()
S
61 5 12
importsUpdate()
S
60 5 12
isInlineCssEnabled()
S
62 5 11
generateInlineAssocHtmlForHandle()
S
59 3 16
init()
S
59 3 14
appendNoScriptCertainLinkTags()
S
59 3 13
getAllInlineChosenPatterns()
S
61 3 12
isAutoInlineEnabled()
S
72 3 5
wpfcMinifyCssEnabledOnly()
S
65 3 8
isWorthCheckingForOptimization()
S
73 3 5
getFirstLinkTag()
S
64 3 9
getRelPathCssCacheDir()
S
79 1 3